#ifndef PHYSICSMANAGER2D_H
#define PHYSICSMANAGER2D_H

#include "obj2d.h"
#include "list.h"

namespace ePhys {

	class physicsManager2d
	{
	public:
		physicsManager2d(void);
		~physicsManager2d(void);

		void addObject(obj2d *obj) { objs.push_back(obj); }

		obj2d *pick(vec2d p);

		void drop(void);

		list<obj2d*> getObjs(void) { return objs; }	//YUCK (for debug)

	private:
		list<obj2d*> objs;
	};

}

#endif

